@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}


.flex-container {
    display: flex;
    align-items: baseline;

}

.item {
    width: 100px;
    margin: 10px;
    text-align: center;
    line-height: 16px;
    font-size: 16px;
}

.border-full {
    width: 0;
    height: 0;
    border: 50px solid;
    border-color:  antiquewhite greenyellow pink blueviolet;
}

.left {
    width: 0;
    height: 0;
    border-left: 50px solid blueviolet;
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent;
}

.up {
    width: 0;
    height: 0;
    border-top: 50px solid antiquewhite;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
}

.right {
    width: 0;
    height: 0;
    border-right: 50px solid greenyellow;
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent;
}



.bottom {
    width: 0;
    height: 0;
    border-bottom: 50px solid pink;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
}

span {
    display: block;
}

/* CSS3媒体查询：当屏幕宽度小于480px时，flex弹性改为列模式 */
@media screen and (max-width: 480px) {
    .flex-container {
        flex-direction: column;
    }
  }